<?php

namespace Biz\model\advertisement;


/**
 * @property mixed|null $id
 * @property mixed|null $rel
 * @property  mixed|null $drop_version
 * @property  mixed|null $app_tab
 * @property  mixed|null $title
 * @property  mixed|null $version
 * @property  mixed|null $show_type
 * @property  mixed|null $position_status
 * @property  mixed|null $route
 * @property  mixed|null $style_type
 * @property  mixed|null $statSign
 * @property  mixed|null $sign
 * @property  mixed|null $en_name
 * @property  mixed|null $super_role
 * @property  mixed|null $sort
 * @property  mixed|null $op_roles
 */
class MPosition extends MBaseDbModel
{
    const _CONFIG_FILE_ = 'db_position';

    const _CONFIG_SELECT_ = 'db_position';

    const _DATABASE_ = 'hhz_position';

    const _TABLE_NAME = 'position';

    const POSITION_PATTERN_DB_LIST = 1;
    const POSITION_PATTERN_NAME_MAP = 2;
    const POSITION_PATTERN_API_MAP = 3;
    const POSITION_PATTERN_ROUTE_MAP = 4;

    const STATUS_NORMAL = 1;
    // 状态为删除
    const STATUS_DELETE = 9;

    const REL_OPEN = 1;
    const REL_CLOSE = 2;
    const REL_MAP = [
        self::REL_OPEN => '开启',
        self::REL_CLOSE => '关闭',
    ];

}

